package com.java.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * user_info_test
 *
 * @author
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "user_info_test")
@TableName(value = "user_info_test")
public class UserInfoTest implements Serializable {
    @Id
    @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;

    private String userName;

    private String userPhone;

    private String address;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;
}